package test;

import dao.StaffsDao;
import dao.impl.StaffsDaoImpl4jdbc;
import entity.Staffs;

/**
 * 根据Id查询
 * @Author lzp
 * @Date 2024-03-07
 */
public class test05 {
    public static void main(String[] args) {
        StaffsDao staffsDao = new StaffsDaoImpl4jdbc();

        Staffs staffs = staffsDao.selectId(2);
        System.out.println(staffs);

    }
}
